﻿<classes>
  <class name="Invoice" assembly="TestCDefSolution.BO" table="tbInvoice" displayName="Invoice">
    <property name="InvoiceID" databaseField="InvoiceIDDBColName" displayName="Invoice ID Display Name" 
		type="Guid" description="Prop Invoice ID Description" readWriteRule="ReadWrite"/>
    <property name="InvoiceString" databaseField="InvoiceStringDbColName" displayName="Edit_Invoice String Display NAme" type="Int32" 
		description="Edit_Prop Invoice String Description" readWriteRule="ReadWrite" keepValuePrivate="false" compulsory="false"  default="Edit_Default Value">
      <rule name="InvoiceInt32">
        <add key="min" value="0" />
        <add key="max" value="255" />
      </rule>
      <simpleLookupList>
        <item display="Edit_LkUp List Item 1" value="Edit_L-Up1" />
        <item display="Edit_LkUp List Item 2" value="Edit_L-Up2" />
        <item display="Edit_LkUp List Item 3" value="Edit_L-Up3" />
      </simpleLookupList>
    </property>
	<property name="InvoiceBool"  type="Boolean" databaseField="InvoiceBoolDbColName" displayName="Invoice Bool Display NAme" 
		description="Prop Invoice Bool Description" readWriteRule="ReadWrite" keepValuePrivate="false" compulsory="false"  default="Default Bool Value"/>
	<property name="InvoiceDecimal" type="Decimal"  databaseField="InvoiceDecimalDbColName" displayName="Invoice Decimal Display NAme" 
		description="Prop Invoice Decimal Description" readWriteRule="ReadWrite" keepValuePrivate="false" compulsory="false"  default="Default Decimal Value">
      <rule name="InvoiceDecimal">
        <add key="min" value=".001" />
        <add key="max" value="1.001" />
      </rule>
    </property>
	<property name="InvoiceDate" type="DateTime" databaseField="InvoiceDateTimeDbColName" displayName="Invoice DateTime Display NAme" 
		description="Prop Invoice DateTime Description" readWriteRule="ReadWrite" keepValuePrivate="false" compulsory="false"  default="Default DateTime Value">
      <rule name="InvoiceDate">
        <add key="min" value="01/01/2010" />
        <add key="max" value="01/31/2010" />
      </rule>
    </property>
	<property name="InvoiceDouble" type="Double"  databaseField="InvoiceDoubleDbColName" displayName="Invoice Double Display NAme" 
		description="Prop Invoice Double Description" readWriteRule="ReadWrite" keepValuePrivate="false" compulsory="false"  default="Default Double Value">
      <rule name="InvoiceDouble">
        <add key="min" value="0" />
        <add key="max" value="10000000000000000" />
      </rule>
    </property>
	<property name="InvoiceInt32" type="Int32" databaseField="InvoiceInt32DbColName" displayName="Invoice Int32 Display NAme" 
		description="Prop Invoice Int32 Description" readWriteRule="ReadWrite" keepValuePrivate="false" compulsory="false"  default="Default Int32 Value">
      <rule name="InvoiceInt32">
        <add key="min" value="0" />
        <add key="max" value="1000" />
      </rule>
    </property>
	    <property name="InvoiceInt64" type="Int64" databaseField="InvoiceInt64DbColName" displayName="Invoice Int64 Display NAme" 
		description="Prop Invoice Int64 Description" readWriteRule="ReadWrite" keepValuePrivate="false" compulsory="false"  default="Default Int64 Value">
      <rule name="InvoiceInt64">
        <add key="min" value="0" />
        <add key="max" value="1000000" />
      </rule>
    </property>
    <property name="InvoiceSingle" type="Single" databaseField="InvoiceSingleDbColName" displayName="Invoice Single Display NAme" 
		description="Prop Invoice Single Description" readWriteRule="ReadWrite" keepValuePrivate="false" compulsory="false"  default="Default Single Value">
      <rule name="InvoiceSingle">
        <add key="min" value="-1.0000000000000000000000000001" />
        <add key="max" value="1.000000000000000000000000000000000000000000001" />
      </rule>
    </property>
    <property name="InvoiceTimeSpan" type="TimeSpan"  databaseField="InvoiceTimeSpanDbColName" displayName="Invoice TimeSpan Display NAme" 
		description="Prop Invoice TimeSpan Description" readWriteRule="ReadWrite" keepValuePrivate="false" compulsory="false"  default="Default TimeSpan Value"/>
    <primaryKey>
      <prop name="InvoiceID" />
    </primaryKey>
  </class>
</classes>